﻿<Window x:Class="Sobiens.SPCamlStudio.UI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:my1="clr-namespace:Sobiens.SPCamlStudio.UI.Controls;assembly=Sobiens.SPCamlStudio.UI.Controls"
        
        Title="SharePoint CAML Studio" Height="350" Width="525" Loaded="Window_Loaded" Initialized="Window_Initialized" Icon="Images/Sobiens_20x20.gif">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="20"/>
            <RowDefinition Height="25"/>
            <RowDefinition Height="100*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="40*"/>
            <ColumnDefinition Width="60*"/>
        </Grid.ColumnDefinitions>

        <Menu IsMainMenu="True"  Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Background="#ADBACE">
            <MenuItem Header="File">
                <MenuItem Header="Open" Name="OpenMenuItem" Click="OpenMenuItem_Click"/>
                <MenuItem Header="Save" Name="SaveMenuItem" Click="SaveMenuItem_Click" />
                <MenuItem Header="Exit" Name="ExitMenuItem" Click="ExitMenuItem_Click" />
            </MenuItem>
            <MenuItem Header="Help" Name="HelpMenuItem" Click="HelpMenuItem_Click"></MenuItem>
        </Menu>
        <my1:QueryDesignerToolbar Background="#ADBACE" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" x:Name="queryDesignerToolbar" Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" Height="30" />
        <my1:ServerObjectExplorer Grid.Column="0" Grid.Row="2" x:Name="serverObjectExplorer" Margin="0,0,0,0" After_Select="serverObjectExplorer_After_Select" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" />
        <my1:QueriesPanel Grid.Column="1" Grid.Row="2" x:Name="queriesPanel" Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" />
    </Grid>
</Window>
